#include "StdAfx.h"
#include "DataReceivedEventArgs.h"

using namespace Adaptive::Network::Sockets;

DataReceivedEventArgs::DataReceivedEventArgs(array<Byte>^ data)
{
	_data = data;
}
DataReceivedEventArgs::~DataReceivedEventArgs()
{
	_data = nullptr;
}
array<Byte>^ DataReceivedEventArgs::DataRecieved::get()
{
	return _data;
}